<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="templatecustomer.xhtml">
        <ui:define name="pagename">
            Package Tour
        </ui:define>
        <ui:define name="content">
            <br></br>
            <h:form>
                <table>
                    <tr>
                        <td><img src="../admin/#{packageTourBean.ptDetails.images}" width="150px" height="150px" alt="images"/></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td width="220px"><h3>Package Name:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.packageName}</b></td>
                    </tr>
                    <tr>
                        <td><h3>Package Tour Name:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.packageTourName}</b></td>
                    </tr>
                    <tr>
                        <td><h3>Price:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.price}$</b></td>
                    </tr>
                    <tr>
                        <td><h3>Travel:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.travel}</b></td>
                    </tr>
                    <tr>
                        <td><h3>Description:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.description}</b></td>
                    </tr>
                    <tr>
                        <td><h3>From:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.fromDate}</b></td>
                    </tr>
                    <tr>
                        <td><h3>To:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.toDate}</b></td>
                    </tr>
                    <tr>
                        <td><h3>Hotel Name:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.hotelName}</b></td>
                    </tr>
                    <tr>
                        <td><h3>Location:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.locationName}</b></td>
                    </tr>
                    <tr>
                        <td><h3>Place:</h3></td>
                        <td><b>#{packageTourBean.ptDetails.placeName}</b></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><h:commandButton value="Order Now" action="#{packageTourBean.actionOrderTour(packageTourBean.ptDetails.packageTourID)}"></h:commandButton></td>
                    </tr>
                </table>
            </h:form>
        </ui:define>
    </ui:composition>
</html>

